<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学历</title>
    <script src="../js/ajax.js"></script>
    <script>
        function AddEdu(){
            var rd = document.getElementsByTagName('input');
            for (var i = 0; i < rd.length; i++){
                if (rd[i].checked == true){
                    get("../AddEduServlet?edu="+rd[i].value,
                    function (res){
                       alert(res.msg);
                    })
                }
            }
        }
    </script>
</head>
<body>

<h1>你的学历:</h1>
<input type="radio" name="edc" value="高中">高中  <input type="radio" name="edc" value="专科"> 专科
<input type="radio" name="edc" value="本科"> 本科<br>
<a href="experience.html" onclick="AddEdu();">下一页</a>
</body>
</html>